<?php

/**
 * @copyright   FOSP
 * @version     20120426
 * @todo        Display team's name
 * @name        Zend_View_Helper_DisplayTeamName
 * @author      QuangTM 
 */
class Zend_View_Helper_DisplayTeamName extends Zend_View_Helper_Abstract
{
    public function displayTeamName($teamID)
    {
        // Get team model
        $teamModel = TeamSeason::getInstance();
        
        // Get team detail
        $teamDetail = $teamModel->getDetailTeam($teamID);
        
        return $teamDetail['name'];
    }
}